<?php
namespace Orqlog\Yacampaign\Domain\Repository;

use Orqlog\Yacampaign\Domain\Model\CampaignInterface;

interface CampaignRepositoryInterface
{
    public function makeCampaign(array $data): CampaignInterface;
    public function findById(int $id): CampaignInterface;
    public function attachPrize(int $campaignId, int $prizeId) :void;
    public function detachPrize(int $campaignId, int $prizeId) :void;
    public function attachQualifyPolicy(int $campaignId, int $qualifyPolicyId) :void;
    public function detachQualifyPolicy(int $campaignId, int $qualifyPolicyId) :void;

}